<?php

namespace App\Http\Controllers\Front;

use App\Http\Controllers\Controller;
use App\Model\Version;

class VersionController extends Controller
{
    public function android()
    {
        $version = new Version();
        $v = $version->where('type', 1)->where('is_allow', 1)->orderby("id", "desc")->limit('1')->first();
        return $this->renderJson($v);
    }

}
